import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';

type ButtonColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';

@Component({
	selector: 'm-button-icon',
	templateUrl: './button-icon.component.html',
	styleUrls: ['./button-icon.component.scss'],
})
export class ButtonIconComponent implements OnInit {
	constructor() {}
	@Input() icon: string;
	@Input() text: string;
	@Input() disabled: string;
	@Input() color: ButtonColor = 'primary';
	ngOnInit() {}
}
